package com.cn.xiaonuo.tcrfinance.tcrshops.service;

import com.cn.xiaonuo.common.entity.BusinessMessage;
import com.cn.xiaonuo.tcrfinance.tcrshops.param.*;

import javax.servlet.http.HttpServletResponse;

/**
 * @BelongsProject: slb-reports-java
 * @Author: likui
 * @CreateTime: 2023-01-31  09:21
 * @Description: TODO
 */
public interface ThirdStorageService {
    /**
     * 第三方仓储列表
     * @param param
     * @return
     */
    BusinessMessage pageThirdStorage(PageThirdStorageParam param);

    /**
     * 添加第三方仓储
     * @param param
     * @return
     */
    BusinessMessage addThirdStorage(AddThirdStorageParam param);

    /**
     * 第三方仓储编辑
     * @param param
     * @return
     */
    BusinessMessage editThirdStorage(EditThirdStorageParam param);

    /**
     * 出入仓记录
     * @param param
     * @return
     */
    BusinessMessage storageRecordPage(StorageRecordPageParam param);

    /**
     * 出入仓凭证更新
     * @param param
     * @return
     */
    BusinessMessage updateVoucher(UpdateVoucherParam param);

    /**
     * 出仓记录导出
     * @param response
     * @param param
     */
    void outgoingRecordExcel(HttpServletResponse response, StorageRecordPageParam param);

    /**
     * 入仓记录导出
     * @param response
     * @param param
     */
    void warehousingRecordExcel(HttpServletResponse response, StorageRecordPageParam param);
}
